package cn.stylefeng.guns.sys.modular.system.service;

import cn.stylefeng.guns.base.pojo.page.LayuiPageFactory;
import cn.stylefeng.guns.sys.modular.system.entity.KmsPool;
import cn.stylefeng.guns.sys.modular.system.mapper.KmsPoolMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.Map;

/**
 * @author YuJiBiao
 * @version: 1.0
 * @Date 2021/3/15 20:56
 **/
@Service
public class KmsPoolService extends ServiceImpl<KmsPoolMapper, KmsPool> {

    /**
     * 根据条件查询App列表
     *
     * @author fengshuonan
     * @Date 2018/12/24 22:45
     */
    public Page<Map<String, Object>> selectKmsPool() {
        Page page = LayuiPageFactory.defaultPage();
        return this.baseMapper.selectKmsPooList(page);
    }
}
